projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f58d8
)
* emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
author
Jan Djärv
<jan.h.d@swipnet.se>
Thu, 31 Oct 2013 08:32:42 +0000
(09:32 +0100)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Thu, 31 Oct 2013 08:32:42 +0000
(09:32 +0100)
src/ChangeLog
patch
|
blob
|
history
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 64d7ea5c1817bbf9aee9545e66490de812313938..0c76b176a1fb00b6dfce248b8f694c24764875ba 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2013-10-31 Jan Djärv <jan.h.d@swipnet.se>
+
+ * emacs.c (main): Skip -psn args on OSX even if ! isatty (0).
+
2013-10-31 Glenn Morris <rgm@gnu.org>
* emacs.c (original_pwd): New char.
diff --git
a/src/emacs.c
b/src/emacs.c
index e2b47bddb32b417713464549d526dfb79d872917..92b52f1cea6a87f219019603b5dbdbeff5af1b04 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-1201,7
+1201,7
@@
Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
chdir fails. */
if (! inhibit_window_system && ! isatty (0))
chdir (getenv ("HOME"));
-
else
if (skip_args < argc)
+ if (skip_args < argc)
{
if (!strncmp (argv[skip_args], "-psn", 4))
{